
<div class="wrap">
<h2 id="impoet-student">
<?php echo _e("New Sport");

?>
</h2>
<div id="ajax-response"></div>
<p>
<?php
echo _e("You can add a new sport name here.");

?>
</p>
<?php
$form = new zeus_quickform(
    array("name" => "sv-form",
        "id" => "sv-form",
        "action" => "javascript:void(null);",
        "onsubmit" => "xajax_jsSubmitForm();",
        "method" => "post")
    );
echo $form->start();

?>
<table class="form-table">

<?php
$elements = array(
    array("label" => array("for" => "sport_name", "name" => _e("Sport Name (required)")),
        "form" => array("type" => "text", "options" => array("id" => "sport_name", "name" => "sport_name", "value" => $_POST['sport_name'], "size" => 50, "maxlength" => 200)))
    );
foreach($elements AS $element) {
    if (isset($element) && is_array($element)) {
        echo showFormRow($form, $element);
    } else {
        zeus_do_nothing();
    }
}

?>
</td>
</tr>
</table>
<p class="submit">
<?php
echo $form->addElement("submit", array("name" => "new", "id" => "wp-submit", "value" => _e("New")));

?>
</p>
<?php
echo $form->end();
$form = null;
unset($form);

?>

</div>